#define _CRT_SECURE_NO_WARNINGS 1

#include"Queue.h"

int main()
{
	char* pc = "ABDH###E##CF##G##";
	int i = 0;
	BTNode* root = BinaryTreeCreate(pc, strlen(pc), &i);
	printf("%d\n", BinaryTreeSize(root));
	printf("%d\n", BinaryTreeLeafSize(root));
	printf("%d\n", BinaryTreeLevelKSize(root, 3));
	printf("%p\n", BinaryTreeFind(root, 'H'));
	BinaryTreePrevOrder(root);
	printf("\n");
	BinaryTreeInOrder(root);
	printf("\n");
	BinaryTreePostOrder(root);
	printf("\n");
	BinaryTreeLevelOrder(root);
	printf("\n");
	printf("%d\n", BinaryTreeComplete(root));
	BinaryTreeDestory(&root);
	return 0;
}